import React, { useState, useEffect } from "react";
import { Button, Flex } from 'antd';
import axios from 'axios';
import Password from "antd/es/input/Password";
const WebChart = () => {
  axios.post('http://localhost:3000/api/reguser?username=admin&password=admin123', {
    // data: {
    //   username: 'admin',
    //   password:'admin'
    // },
    // headers: {
    //     Authorization: `Bearer ${token}`
    // }
}).then(res => {
   console.log('res',res);
   
 })
  return (
    <div
      className="my-tag-bac"
      style={{ minHeight: "660px",paddingTop:"10px" }}
    >
          <Button type="primary">Primary Button</Button>
    </div>
  );
};

export default WebChart;
